﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DataAccess;

public partial class AddToCart : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString["ProductID"] != null)
            ShoppingCart.Add(Request.QueryString["ProductID"]);
        // Sau khi them Product xong thi chuyen huong ngay 
        Response.Redirect("~/Cart.aspx"); 
    }
}